package com.loan.test.mytest;

import com.loan.service.SendSmsService;
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import javax.annotation.Resource;

@SpringBootTest
public class Mine {
    @Resource
    private SendSmsService sendSmsService;

    @Test
    public void testSendSms(){
        boolean b = sendSmsService.sendSms("15683006805");
        System.out.println(b);
    }

    @Test
    public void testCheckSMS(){
        boolean b = sendSmsService.checkSms("15683006805", "5489");
        System.out.println(b);

    }
}